<?php
/**
 * Demo 统一入口
 */

require_once dirname(__FILE__) . '/../init.php';

//装载你的接口
DI()->loader->addDirs('Applet');

DI()->wechatMini = new WechatMini_Lite();
/** ---------------- 响应接口请求 ---------------- **/
DI()->cache = new PhalApi_Cache_File(array('path' => API_ROOT . '/Runtime', 'prefix' => 'demo'));
$api = new PhalApi();
$rs = $api->response();
$rs->output();

